package cn.bluemobi.platform.entity.order;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

public class Order {
	private Long id;// 订单Id

	private String orderNumber;// 订单编号

	private Long merchantId;// 商户Id

	private Long memberId;// 会员Id

	private Long addressId;// 地址Id

	private Integer orderStatus;// 订单状态(0待支付，1待发货，2待收货，3待评价，4交易完成，5交易取消，6已退单)

	private BigDecimal commodityMoney;// 商品总金额(不含运费)

	private BigDecimal freight;// 运费

	private Integer payType;// 支付类型（0积分兑换 1支付宝，2微信）

	private BigDecimal payMoney;// 支付金额(含运费)

	private String logisticsCode;// 物流公司编码

	private String logisticsCompany;// 物流公司名称

	private String logisticsNumber;// 物流单号

	private Date createDate;// 创建时间

	private Date payDate;// 支付时间

	private Date deliveryDate;// 发货时间

	private Date receivingDate;// 收货时间

	private Date finishDate;// 完成时间(订单完成支付，并评论之后)

	private Date cancelDate;// 取消时间(订单取消时间)

	private Date refundDate;// 退款完成时间

	private String alipayOutTradeNo;// 订单支付时传入的商户订单号

	private String alipayTradeNo;// 支付宝交易号

	private String weixinOutTradeNo;// 商户系统内部订单号

	private String weixinTransactionId;// 微信生成的订单号

	private Integer isDelete;// 是否删除(0否，1是)

	private String nickName;// 会员名

	private String cellphone;// 联系电话

	private String isAudit;// 是否审核（0否，1是）

	private Map<String, Object> showItems;// 展示时间

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber == null ? null : orderNumber.trim();
	}

	public Long getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public BigDecimal getCommodityMoney() {
		return commodityMoney;
	}

	public void setCommodityMoney(BigDecimal commodityMoney) {
		this.commodityMoney = commodityMoney;
	}

	public BigDecimal getFreight() {
		return freight;
	}

	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public BigDecimal getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}

	public String getLogisticsCode() {
		return logisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode == null ? null : logisticsCode
				.trim();
	}

	public String getLogisticsCompany() {
		return logisticsCompany;
	}

	public void setLogisticsCompany(String logisticsCompany) {
		this.logisticsCompany = logisticsCompany == null ? null
				: logisticsCompany.trim();
	}

	public String getLogisticsNumber() {
		return logisticsNumber;
	}

	public void setLogisticsNumber(String logisticsNumber) {
		this.logisticsNumber = logisticsNumber == null ? null : logisticsNumber
				.trim();
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public Date getDeliveryDate() {
		return deliveryDate;
	}

	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	public Date getReceivingDate() {
		return receivingDate;
	}

	public void setReceivingDate(Date receivingDate) {
		this.receivingDate = receivingDate;
	}

	public Date getFinishDate() {
		return finishDate;
	}

	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public Date getCancelDate() {
		return cancelDate;
	}

	public void setCancelDate(Date cancelDate) {
		this.cancelDate = cancelDate;
	}

	public Date getRefundDate() {
		return refundDate;
	}

	public void setRefundDate(Date refundDate) {
		this.refundDate = refundDate;
	}

	public String getAlipayOutTradeNo() {
		return alipayOutTradeNo;
	}

	public void setAlipayOutTradeNo(String alipayOutTradeNo) {
		this.alipayOutTradeNo = alipayOutTradeNo == null ? null
				: alipayOutTradeNo.trim();
	}

	public String getAlipayTradeNo() {
		return alipayTradeNo;
	}

	public void setAlipayTradeNo(String alipayTradeNo) {
		this.alipayTradeNo = alipayTradeNo == null ? null : alipayTradeNo
				.trim();
	}

	public String getWeixinOutTradeNo() {
		return weixinOutTradeNo;
	}

	public void setWeixinOutTradeNo(String weixinOutTradeNo) {
		this.weixinOutTradeNo = weixinOutTradeNo == null ? null
				: weixinOutTradeNo.trim();
	}

	public String getWeixinTransactionId() {
		return weixinTransactionId;
	}

	public void setWeixinTransactionId(String weixinTransactionId) {
		this.weixinTransactionId = weixinTransactionId == null ? null
				: weixinTransactionId.trim();
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public Map<String, Object> getShowItems() {
		return showItems;
	}

	public void setShowItems(Map<String, Object> showItems) {
		this.showItems = showItems;
	}

	public String getIsAudit() {
		return isAudit;
	}

	public void setIsAudit(String isAudit) {
		this.isAudit = isAudit;
	}
}